package com.yanqu.road.entity.activity.tonbingchannel.data;

public class ChannelTonBingBattleResult {

    private int winType;

    private ChannelTonBingBattlefieldTeam def;
    private long defHpReduce;
    private long defZhanGong;

    private ChannelTonBingBattlefieldTeam atk;
    private long atkHpReduce;
    private long atkZhanGong;

    private int winTimes;

    // 存个引用，方便返回给客户端
    private ChannelTonBingBattlefieldPart part;
    private ChannelTonBingBattlefield battlefield;
    private ChannelTonBingCity city;


    public ChannelTonBingBattleResult() {
    }

    public ChannelTonBingBattleResult(ChannelTonBingBattlefieldPart part, ChannelTonBingBattlefield battlefield, ChannelTonBingCity city,
                                    int winType,
                                    ChannelTonBingBattlefieldTeam def, long defHpReduce, long defZhanGong,
                                    ChannelTonBingBattlefieldTeam atk, long atkHpReduce, long atkZhanGong,
                                    int winTimes) {
        this.part = part;
        this.battlefield = battlefield;
        this.city = city;
        this.winType = winType;
        this.def = def;
        this.defHpReduce = defHpReduce;
        this.defZhanGong = defZhanGong;
        this.atk = atk;
        this.atkHpReduce = atkHpReduce;
        this.atkZhanGong = atkZhanGong;
        this.winTimes = winTimes;
    }

    public ChannelTonBingBattlefieldPart getPart() {
        return part;
    }

    public void setPart(ChannelTonBingBattlefieldPart part) {
        this.part = part;
    }

    public ChannelTonBingBattlefield getBattlefield() {
        return battlefield;
    }

    public void setBattlefield(ChannelTonBingBattlefield battlefield) {
        this.battlefield = battlefield;
    }

    public ChannelTonBingCity getCity() {
        return city;
    }

    public void setCity(ChannelTonBingCity city) {
        this.city = city;
    }

    public int getWinTimes() {
        return winTimes;
    }

    public void setWinTimes(int winTimes) {
        this.winTimes = winTimes;
    }

    public int getWinType() {
        return winType;
    }

    public void setWinType(int winType) {
        this.winType = winType;
    }

    public ChannelTonBingBattlefieldTeam getDef() {
        return def;
    }

    public void setDef(ChannelTonBingBattlefieldTeam def) {
        this.def = def;
    }

    public long getDefHpReduce() {
        return defHpReduce;
    }

    public void setDefHpReduce(long defHpReduce) {
        this.defHpReduce = defHpReduce;
    }

    public long getDefZhanGong() {
        return defZhanGong;
    }

    public void setDefZhanGong(long defZhanGong) {
        this.defZhanGong = defZhanGong;
    }

    public ChannelTonBingBattlefieldTeam getAtk() {
        return atk;
    }

    public void setAtk(ChannelTonBingBattlefieldTeam atk) {
        this.atk = atk;
    }

    public long getAtkHpReduce() {
        return atkHpReduce;
    }

    public void setAtkHpReduce(long atkHpReduce) {
        this.atkHpReduce = atkHpReduce;
    }

    public long getAtkZhanGong() {
        return atkZhanGong;
    }

    public void setAtkZhanGong(long atkZhanGong) {
        this.atkZhanGong = atkZhanGong;
    }
}
